#pragma once
#include <iostream>
#include <string>
#include <vector>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fstream>
#include <thread>
#include <mutex>
#include <memory>
#include <unistd.h>
#include <time.h>

using std::cout , std::endl;

#define INFO 0
#define DEBUG 1
#define WARING 2
#define FATAL 3
#define LOG(level, message) log(#level, message, __FILE__, __LINE__)

void log(const std::string& level, const std::string& message, const std::string& filename, int line)
{
    cout << "[ " << level << " ] - [ " << message << " ] - [ " << filename << " : " << line << " ]" << endl;
}